<#assign ctx=springMacroRequestContext.contextPath />
<#include "/macro/publicMacro.ftl">
<#import "/macro/pagination.ftl" as Pagination>

<@header title="Log简介">
    <link href="${ctx}/resource/common/css/pagination.css" rel="stylesheet">
    <script src="${ctx}/resource/common/js/pagination.js"></script>
</@header>

<@body>
<h2 class="module-title">Log详情</h2>

<div class="alert alert-primary" role="alert">
    <#--<button class="btn btn-info" onclick="javascript: history.back(-1);return false;" >返回</button>-->
    <a class="btn btn-info btn-sm" href="${ctx}/log/list" role="button" aria-pressed="true">返回</a>
</div>

<div class="table-responsive">
    <table class="table">
        <thead>
            <th width="100">名称</th>
            <th>值</th>
        </thead>
        <tbody>
            <tr>
                <td class="alert alert-info" align="center">主键</td>
                <td>${log.id!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center">操作人</td>
                <td>${log.managerUser.nickName!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center">被操作人</td>
                <td>${log.user.nickName!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center">操作类型</td>
                <td>${log.type!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center">操作介绍</td>
                <td>${log.content!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center">所属模块</td>
                <td>${log.module.description!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center">IP</td>
                <td>${log.ip!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center">创建时间</td>
                <td>${(log.createTime?string('yyyy-MM-dd hh:mm:ss'))!} </td>
            </tr>
        </tbody>
    </table>
</div>
</@body>

<@footer>

</@footer>